from tkinter import *
x = int(input())
y = int(input())
k = int(input())*10

coords = [x,y,x+k,y,x+k,y+k,x+k*2,y+k,x+k*2,y+k*2,x+k,y+k*2,x+k,y+k*3,y,y+k*3]

root = Tk()
root.title('ИТ- Марафон')
root.geometry('500x500')
canvas = Canvas(bg = 'blue', width = 500, height = 500)
canvas.pack(anchor = CENTER, expand = 1)

if x + 2 * k < 500 and y + 3 * k < 500:
    canvas.create_polygon(coords)
else:
    print('СЛИШКАМ МНОХО НЕ ПОЛОЖАНА!')
    
root.mainloop()
